3.135 \(\int \frac{\sqrt{b x^n}}{x^2} \, dx\)

Optimal. Leaf size=21 \[ -\frac{2 \sqrt{b x^n}}{(2-n) x} \]

[Out]

(-2*Sqrt[b*x^n])/((2 - n)*x)

________________________________________________________________________________________

Rubi [A]  time = 0.0052112, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {15, 30} \[ -\frac{2 \sqrt{b x^n}}{(2-n) x} \]

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*x^n]/x^2,x]

[Out]

(-2*Sqrt[b*x^n])/((2 - n)*x)

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \frac{\sqrt{b x^n}}{x^2} \, dx &=\left (x^{-n/2} \sqrt{b x^n}\right ) \int x^{-2+\frac{n}{2}} \, dx\\ &=-\frac{2 \sqrt{b x^n}}{(2-n) x}\\ \end{align*}

Mathematica [A]  time = 0.0020995, size = 19, normalized size = 0.9 \[ \frac{2 \sqrt{b x^n}}{(n-2) x} \]

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*x^n]/x^2,x]

[Out]

(2*Sqrt[b*x^n])/((-2 + n)*x)

________________________________________________________________________________________

Maple [A]  time = 0., size = 18, normalized size = 0.9 \begin{align*} 2\,{\frac{\sqrt{b{x}^{n}}}{x \left ( -2+n \right ) }} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^n)^(1/2)/x^2,x)

[Out]

2/x/(-2+n)*(b*x^n)^(1/2)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^n)^(1/2)/x^2,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^n)^(1/2)/x^2,x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**n)**(1/2)/x**2,x)

[Out]

Exception raised: TypeError

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b x^{n}}}{x^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^n)^(1/2)/x^2,x, algorithm="giac")

[Out]

integrate(sqrt(b*x^n)/x^2, x)